-- GENERATED SPELL FOR [Scout Tungok] --


function spell0_25440(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_25440', 626, 1)
end

function Sorts_25440(pUnit, Event)
local choix_sorts_25440 = math.random(0, 0)
if choix_sorts_25440 == 0 then
pUnit:RegisterEvent('spell0_25440', 1, 1)
end
end

function mob25440_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25440', math.random(1500, 3000), 1)
end

function mob25440_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25440_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25440_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25440, 1, 'mob25440_Action')
RegisterUnitEvent(25440, 2, 'mob25440_Leave')
RegisterUnitEvent(25440, 3, 'mob25440_Kill')
RegisterUnitEvent(25440, 4, 'mob25440_Die')
